#ifndef SYSDEF_H
#define SYSDEF_H



#if defined(_WIN64)
#	ifndef __x64__
#		define __x64__
#       define __x86_64__
#	endif

#else
#   ifndef __x86__
#       define __x86__
#   endif
#endif

#if defined(_WIN32) || defined(_WIN64)
#	ifndef WINDOWS
#		define WINDOWS
#	endif
#endif

#if defined(WIN32) || defined(WINDOWS)
#	ifndef WIN32_LEAN_AND_MEAN
#		define WIN32_LEAN_AND_MEAN
#	endif

#endif

#ifdef WINDOWS
#   include <stdio.h>
#   include <stdlib.h>
#if defined(WIN32)
#   include <intrin.h>
#else
#endif

#   include <windows.h>
#   include <limits.h>
#   include <wchar.h>
#   include <tchar.h>
#   include <mbstring.h>
#   include <new.h>
#   include <malloc.h>
#   include <Strsafe.h>
#   include <process.h>

#else
#   include <stdio.h>
#   include <stdlib.h>
#   include <limits.h>
#   include <ctype.h>
#   include <wctype.h>
#   include <stdarg.h>
#   include <wchar.h>
#   include <new>
#   include <errno.h>
#   include <pthread.h>



#endif
#include <string.h>


#define MC_SUCCESS                          0
#define MC_SYSTEM_ERROR_MESSAGE_MAX_CHAR 120


#endif
